.box {
    display: flex;
    margin: 50px;
}

.up {
    margin-right: 100px;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    width: 500px;
    text-align: center;
    margin-bottom: 50px;
}

th,
td {
    border: 1px red solid;
    padding: 10px;
}

.down>div>div {
    margin-top: 20px;
}

.active {
    background: red;
    color: white;
}

.down>div {
    display: none;
}

.down .show {
    display: block;
}